<template>
  <div class="box" @click="son">
    <img src="https://cdn7.axureshop.com/demo/1968629/images/%E9%97%AE%E8%AF%8A/u56.svg" alt="" />
    <div>
      <p>门诊概览</p>
      <span>快速获取就诊门诊通知，就诊情况分析</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ClinicOverview',
  methods: {
    son() {
      if (this.$route.path == '/home/inquiry/clinic-overview') {
        return
      } else {
        this.$router.push("/home/inquiry/clinic-overview")
        // console.log(this.$route.path)
      }

    }
  },
};
</script>

<style lang="scss" scoped>
div.box {
  display: flex;
  padding: 5px;

  div {
    margin-left: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: start;

    span {
      font-size: 12px;
      color: #000;
    }
  }
}
</style>